/* DocSearch specific styles */
#docsearch {
    width: 100%;
    max-width: 32rem;
}

.DocSearch-Button {
    width: 100%;
    border-radius: var(--border-radius-lg);
    padding: var(--space-sm) var(--space-md);
    background: var(--sl-color-black);
    border: 1px solid var(--sl-color-gray-5);
    height: 2.5rem;
    margin: 0;
}

.DocSearch-Button:hover,
.DocSearch-Button:focus {
    border-color: var(--sl-color-accent);
    box-shadow: none;
    outline: none;
    background: var(--sl-color-black);
}

.DocSearch-Button-Keys {
    display: flex;
    min-width: auto;
    padding: 0;
    border: none;
    gap: var(--space-xs);
    background: none;
}

.DocSearch-Button-Key {
    background: none;
    box-shadow: none;
    color: var(--sl-color-gray-3);
    position: relative;
    top: 0;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    font-size: var(--font-size-xs);
}

.DocSearch-Search-Icon {
    width: 1rem;
    height: 1rem;
    color: var(--sl-color-gray-3);
}

.DocSearch-Button-Placeholder {
    font-size: var(--font-size-sm);
    padding: 0 var(--space-sm);
}

.DocSearch-Modal {
    border-radius: var(--border-radius-lg);
    margin-top: var(--space-sm);
}

.DocSearch-SearchBar {
    padding: var(--space-md);
}

.DocSearch-Form {
    border-radius: var(--border-radius-lg);
}

.DocSearch-Hit-source,
.DocSearch-Hit a {
    background: none;
    box-shadow: none;
}

.DocSearch-Hit {
    padding: var(--space-sm);
    border-radius: var(--border-radius-md);
}

.DocSearch-Hit[aria-selected=true] {
    background: var(--sl-color-gray-6);
}